﻿@model IEnumerable<MvcApplication4.Models.Category>
@{
    Layout = null;
}

@foreach (var item in Model)
{

        <div id = "Thread_Box">
            <div id="Thread_Info">
                <div id = "Thread_Info_text">@Html.ActionLink(@Html.DisplayFor(modelItem => item.Title).ToString(), "CategorySelected", new { id = item.CategoryId })</div>
            </div>
            <div id="Thread_Details">
                Created by @Html.DisplayFor(modelItem => item.UserLink.UserName) on @Html.DisplayFor(modelItem => item.Time)
            </div>
        </div>
    

}
